package ui.activity.mine.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.mine.biz.ReturnIncomeBiz;
import ui.activity.mine.contract.ReturnIncomeContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class ReturnIncomeModule {
    private ReturnIncomeContract.View view;

    public ReturnIncomeModule(ReturnIncomeContract.View view) {
        this.view = view;
    }

    @Provides
    public ReturnIncomeContract.View provideView() {
        return view;
    }

    @Provides
    public ReturnIncomeBiz provideBiz() {
        return new ReturnIncomeBiz();
    }
}